package cn.jinjie.day05.test4;

public class Test01 {
    public static void main(String[] args) {
        // a.创建女朋友对象,为姓名,身高赋值,调用做饭和洗衣服方法
        // b.创建男朋友对象,为姓名,身高赋值,调用挣钱和逛街方法
        GirlFriend g = new GirlFriend("小丽", 25);
        g.cook();
        Clothes c = new Clothes("马丁夹克","蓝色");
        g.washClothes(c);
        BoyFriend b = new BoyFriend("小明", 26);
        b.makeMoney();
        b.talking(g);
    }
}
